package cn.iocoder.yudao.module.dify.controller.admin.fileprocessing.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - Dify文件处理跟踪新增/修改 Request VO")
@Data
public class FileProcessingSaveReqVO {

    @Schema(description = "文件处理唯一标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "18168")
    private Long id;
    @Schema(description = "文档名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "文档名称不能为空")
    private String name;

    @Schema(description = "原始文件存储路径", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "原始文件存储路径不能为空")
    private String originalFilepath;

    @Schema(description = "处理后文件存储路径")
    private String processedFilepath;

    @Schema(description = "处理状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private String processingStatus;

    @Schema(description = "处理开始时间")
    private LocalDateTime processingStartedAt;

    @Schema(description = "处理完成时间")
    private LocalDateTime processingCompletedAt;

}